home *** CD-ROM | disk | FTP | other *** search
- Path: news.ipf.net!news
- From: Lutz Vieweg <lkv@barbar.isg.de>
- Newsgroups: comp.lang.c++,gnu.g++.help,comp.sys.hp.hpux
- Subject: Re: Help needed on creating shared libraries on HP UX
- Date: Fri, 12 Apr 1996 16:47:07 +0200
- Organization: Innovative Software GmbH
- Message-ID: <316E6CEB.61E5@barbar.isg.de>
- References: <4kk0gb$9r4@caesar.ultra.net>
- NNTP-Posting-Host: barbar.isg.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 3.0b2 (X11; I; HP-UX B.10.01 9000/770)
-
- Khatau wrote:
-
- > I compiled the c++ source using GNU's g++ on HP UX. When I tried to link
- > the object files using HP UX's CC, to create a shared library
-
- This is not a good idea. Instead, use "gcc -fpic -shared ..."
- to create shared libs. And remember to compile all object files
- with "-fpic"...
-
- cu, Lutz Vieweg
-